home *** CD-ROM | disk | FTP | other *** search
/ Linux Cubed Series 7: Sunsite / Linux Cubed Series 7 - Sunsite Vol 1.iso / system / shells / kiss-0.11 / kiss-0 / kiss / src / startupfiles.c < prev    next >
C/C++ Source or Header  |  1995-03-23  |  276b  |  19 lines

  1. #include "kiss.h"
  2.  
  3. void startupfiles ()
  4. {
  5.     char
  6.     userrc [FILENAMELEN];
  7.     FILE
  8.     *inf;
  9.  
  10.     strcpy (userrc, homedir);
  11.     strcat (userrc, "/" USERRC);
  12.  
  13.     if ( (inf = fopen (userrc, "r")) )
  14.     yypushfile (inf);
  15.  
  16.     if ( (inf = fopen (SYSTEMRC, "r")) )
  17.     yypushfile (inf);
  18. }
  19.